package com.service.impl;

import com.dao.SysUserDao;
import com.pojo.SysUsers;
import com.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    SysUserDao userDao;
    @Override
    public SysUsers findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}